<?php 
namespace App\Infra\Admin;

use App\Models\WeChatDoctorInfo;
use App\Models\WeChatDoctor;
use App\Utils\ModelSDK\ModelOperator;

class DoctorManage{

	use ModelOperator;

	public function createDoctorInfo($data){
		$this->create(WeChatDoctorInfo::class,$data);
	}

	public function getDoctor($id){
		return WeChatDoctor::find($id);
	}

	public function updateDoctorInfo($id,$data){
		$this->update(WeChatDoctorInfo::class,$id,$data);
	}
}